<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<?php
if ($race->num_rows() > 0) {
    $r = $race->row();
}
?>

<div id="wrapper-content">
 <table class="titrepage" width="100%">
        <tr>
            <td >Information race</td>
     </tr>
    </table>
<?php echo form_open(base_url() . 'index.php/doggy_admin/edit_race_name' . '/' . $r->id); ?>
        <table align="center" width="100%" class="list" cellpadding="10px" cellspacing="0">
            <tr>
                <td>Nom du race :</td>
                <td><input name="race_name" type="text" value="<?php echo $r->race_name; ?>"/></td>
                <td><?php echo form_error('race_name') ?><td>
            </tr>
            <tr>
               <td></td> <td><input type="submit" name="submit" value=" Modifier "/></td>
          </tr>
        </table>

<?php echo form_close() ?>

</div>
